package grailssample

class Person {

    String name
    String description
    Float price
    static constraints = {
        name(nullable: false, blank: false, size: 1..50)
        description(nullable: false, blank: false, size: 1..255)
    }

    String toString() {
        return name;
    }
}
